package com.tencent.iov.cowin.befsale.clue.service.clue;

import com.tencent.iov.cowin.befsale.clue.controller.clue.vo.request.ClueExpireRequest;
import com.tencent.iov.cowin.befsale.clue.controller.clue.vo.request.QueryClueCustomerCollectAllRequest;
import com.tencent.iov.cowin.befsale.clue.controller.clue.vo.response.ClueExpirePesponse;
import com.tencent.iov.cowin.befsale.clue.controller.clue.vo.response.ClueFollowHeadResponse;
import com.tencent.iov.cowin.befsale.clue.controller.clue.vo.response.ClueFollowHeadTypeResponse;
import com.tencent.iov.cowin.befsale.clue.domain.clue.po.ClueCustomerCollect;
import com.software.boot.common.model.dao.PageRequest;
import com.software.boot.common.model.dao.PageResponse;

import java.util.List;

/**
 * @Describe: 线索客户宽表跟进端_Service接口层
 * @author: whp
 * @created: 2021-12-23 14:53:39
 * @version: 1.0
 */

public interface ClueCustomerCollectByEmpService {
	/**
	 * 根据条件查询对象Page记录
	 * @param request
	 * @return 查询结果
	 */
	PageResponse<ClueCustomerCollect> getPageByParamAll(PageRequest<QueryClueCustomerCollectAllRequest> request);

	/**
	 * 线索跟进列表头部显示
	 *
	 * @param: id
	 * @return: ClueFollowHeadResponse
	 */
	ClueFollowHeadResponse getHeadContent(QueryClueCustomerCollectAllRequest clueRequest);

	/**
	 * 头部部跟进内容统计
	 * @param request
	 * @return 头部部跟进内容统计
	 */
	List<ClueFollowHeadTypeResponse>  getClueFollowHeadTypeResponse(ClueCustomerCollect request);

	/**
	 * 线索状态头部部跟进内容统计
	 * @param request
	 * @return 头部部跟进内容统计
	 */

	List<ClueFollowHeadTypeResponse> getClueStatusHeadTypeResponse(QueryClueCustomerCollectAllRequest request);

	/**
	 * 头部部战败审批统计
	 * @param request
	 * @return 头部部战败审批统计
	 */
	List<ClueFollowHeadTypeResponse> getClueFailFollowHeadTypeResponse(QueryClueCustomerCollectAllRequest request);


	/**
	 * 单条数据查询统计 ClueCustomerCollect
	 * @param request
	 * @return 插入的条数
	 */
	int getClueCustomerCollect(QueryClueCustomerCollectAllRequest request);

	/**
	 * 总部逾期已跟进or 经销商逾期已跟进
	 * @param request
	 * @return
	 */
	PageResponse<ClueExpirePesponse> getOemOrDealerClueExpireList(PageRequest<ClueExpireRequest> request);




}